const routes = [
  {
    path: "/login",
    component: () => import("../view/login/Login"),
  },
  {
    path: "/menu",
    component: () => import("@/view/Menu"),
  },
  {
    path: "/dashboard",
    component: () => import("@/view/Layout"),
    children: [
      {
        path: 'dashboard1',
        name: 'dashboard1',
        component: () => import("@/view/Dashboard")
      },
      {
        path: 'dashboard2',
        name: 'dashboard2',
        component: () => import("@/view/Dashboard2")
      }
    ]
  },
];
export default routes;
